<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class UserNumHistory extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'user_num_histories';

    protected $fillable = [
        'user_id',
        'cellphone_num',
        'total_amount',
        'times',
        'is_deleted',
        'operator_id'
    ];

    public function operator()
    {
        return $this->belongsTo(Operator::class);
    }
}
